import { httpGet, httpPost, httpPut } from "../utils/http"


// 查询服务记录
export const findServicesApi = (data)=>{
    return httpPost('/services/search',data)
}

// 新增服务记录
export const addServicesApi = (data)=>{
    return httpPost('/services/add',data)
}

// 修改服务记录
export const updateServicesApi = (data)=>{
    return httpPut('/services/update',data)
}

// 获取一个服务详情
export const getServicesDetailApi = (data)=>{
    return httpGet('/services/detail',data)
}